<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\common\PayWay */

$this->title = '新收款方式';
$this->params['breadcrumbs'][] = ['label' => 'Pay Ways', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="pay-way-create">

    <h1><?= Html::encode($this->title) ?></h1>

    <?php $form = ActiveForm::begin(); ?>
    <?= $form->field($model, 'content')->textInput()->label('支付名称 如:(微信/支付宝/银联闪付)') ?>
    <p>上传图片logo:</p>
    <?= $form->field($model, 'imageFile')->fileInput() ?>


    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>
</div>
